package com.ktwlrj.securitycenter.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ktwlrj.core.base.SuperServer;
import com.ktwlrj.securitycenter.controller.args.SafeTriggerLogArgs;
import com.ktwlrj.securitycenter.controller.args.SafeTriggerLogPageArgs;
import com.ktwlrj.securitycenter.dto.SafeTriggerLogPageDto;
import com.ktwlrj.securitycenter.entity.SafeTriggerLogEntity;

/**
 * 触发日志业务层接口
 *
 * @author code generation
 * @date 2020-02-24 18:08:14
 * @since JDK1.8
 */
public interface SafeTriggerLogService extends SuperServer<SafeTriggerLogEntity> {
    /**
     * 保存
     *
     * @param args ${@link SafeTriggerLogArgs}
     * @throws RuntimeException ${@link RuntimeException}
     * @author code generation
     * @date 2020-02-24 18:08:14
     */
    void save(SafeTriggerLogArgs args) throws RuntimeException;


    /**
     * 分页查询
     *
     * @param args ${@link SafeTriggerLogPageArgs}
     * @throws RuntimeException ${@link RuntimeException}
     * @return IPage<SafeTriggerLogPageDto> ${@link IPage<SafeTriggerLogPageDto>}
     * @author code generation
     * @date 2020-02-24 18:08:14
     */
    IPage<SafeTriggerLogPageDto> page(SafeTriggerLogPageArgs args) throws RuntimeException;
}